﻿using RAP.Framework.Libary.DomTemplateBuilder.Attributes;
using RAP.Framework.Libary.DomTemplateBuilder.Handler;
using RAP.Framework.Libary.Utils;

namespace RAP.Framework.Libary.DomTemplateBuilder.Element.Collection
{
	/// <summary>
	/// 正则表达式匹配循环
	/// </summary>
	[TagHandler( typeof( RegexMatchesHandler ) )]
    public class RegexMatches : Iterate
    {
        /// <summary>
        /// 正则表达式
        /// </summary>
        public string Expression
        {
            get
            {
                return this.ToString ( "Expression" );
            }
        }
    }
}
